import config from '../config/index';
import request from 'superagent';
export default {
    get (data) {
        return request
            .get(config.buildUrl)
            .query(data.query);
    },
    getDetailById (data) {
        return request
            .get(config.buildDetailUrl)
            .query(data.query);
    },
};
